﻿using System;
using System.Collections.Generic;

namespace Database.ERPNext
{
    public partial class tabOpportunity
    {
        public string name { get; set; } = null!;
        public DateTime? creation { get; set; }
        public DateTime? modified { get; set; }
        public string? modified_by { get; set; }
        public string? owner { get; set; }
        public int docstatus { get; set; }
        public int idx { get; set; }
        public string? naming_series { get; set; }
        public string? opportunity_from { get; set; }
        public string? party_name { get; set; }
        public string? customer_name { get; set; }
        public string? status { get; set; }
        public string? opportunity_type { get; set; }
        public string? source { get; set; }
        public string? opportunity_owner { get; set; }
        public string? sales_stage { get; set; }
        public DateOnly? expected_closing { get; set; }
        public decimal probability { get; set; }
        public string? no_of_employees { get; set; }
        public decimal annual_revenue { get; set; }
        public string? customer_group { get; set; }
        public string? industry { get; set; }
        public string? market_segment { get; set; }
        public string? website { get; set; }
        public string? city { get; set; }
        public string? state { get; set; }
        public string? country { get; set; }
        public string? territory { get; set; }
        public string? currency { get; set; }
        public decimal conversion_rate { get; set; }
        public decimal opportunity_amount { get; set; }
        public decimal base_opportunity_amount { get; set; }
        public string? company { get; set; }
        public string? campaign { get; set; }
        public DateOnly? transaction_date { get; set; }
        public string? language { get; set; }
        public string? amended_from { get; set; }
        public string? title { get; set; }
        public decimal? first_response_time { get; set; }
        public string? order_lost_reason { get; set; }
        public string? contact_person { get; set; }
        public string? job_title { get; set; }
        public string? contact_email { get; set; }
        public string? contact_mobile { get; set; }
        public string? whatsapp { get; set; }
        public string? phone { get; set; }
        public string? phone_ext { get; set; }
        public string? customer_address { get; set; }
        public string? address_display { get; set; }
        public string? contact_display { get; set; }
        public decimal base_total { get; set; }
        public decimal total { get; set; }
        public string? _user_tags { get; set; }
        public string? _comments { get; set; }
        public string? _assign { get; set; }
        public string? _liked_by { get; set; }
        public string? _seen { get; set; }
    }
}
